<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>display</title>
    <style>
        div{
            width: 200px;
            height: 100px;
            background: #ff0000;
            display: inline-block;
        }
        span{
            width: 200px;
            height: 100px;
            background: #ff0000;
            display: block;
        }
    </style>
</head>
<body>
<h3>面向对象三大特征</h3>
<ul style="display: block;">
    <li>封装</li>
    <li>继承</li>
    <li>多态</li>
</ul>
<h3>您最喜欢的电影</h3>
<ul>
    <li>大话西游之月光宝盒</li>
    <li>夏洛特烦恼</li>
    <li>西虹市首富</li>
</ul>

<hr>
<div>第1个div</div>
<div>第2个div</div>
<div>第3个div</div>
<hr>
<span>第1个span</span>
<span>第2个span</span>
<span>第3个span</span>

</body>
</html>